<?php

namespace App\Http\Controllers\Api\V1;



use App\Models\Type;

class TypesController extends Controller
{
    public function index()
    {
        $types = Type::query()->select(['id', 'name'])->get();

        return $this->success($types);
    }

}
